<h1>Editing reservadatahorario</h1>

<% form_for(@reservadatahorario) do |f| %>
  <%= f.error_messages %>

    <h4>Data</h4>
    <%= f.date_select :data %>
	<h4>Inicio</h4>
    <%= f.time_select :inicio %>
	<h4>Fim</h4>
    <%= f.time_select :fim %>
    <%= f.submit 'Atualizar' %>
<% end %>

<a href='<%=reservas_path%>'><button type="button">Voltar</button></a>